package com.zhuss.bean.bo.food.product;

import java.io.Serializable;
import java.util.Date;

import com.zhuss.common.BaseBo;
import com.zhuss.common.BasePageParam;
import com.zhuss.util.DateUtil;


public class SearchProductBo extends BasePageParam implements Serializable, BaseBo {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3122371440547564257L;
	
	private Integer type;
	
	private Date date;

	private String name;

    private Integer status;

    private Integer area;
    
    private Integer productTime;
    
    private Integer floor;
    
    public Integer getType() {
		return type;
	}
    
    public void setType(Integer type) {
		this.type = type;
	}
    
    public Date getDate() {
    	if (date != null) {
    		date = DateUtil.toDateOnly(date);
    	}
		return date;
	}
    
    public void setDate(Date date) {
		this.date = date;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getArea() {
		area = getConcurrentArea();
		return area;
	}

	public void setArea(Integer area) {
		this.area = area;
	}

	public Integer getProductTime() {
		return productTime;
	}

	public void setProductTime(Integer productTime) {
		this.productTime = productTime;
	}

	public Integer getFloor() {
		return floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}
	
}